From 225e5cb472370678c4b8fc86ac931acc34ac46d0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 25 Oct 2005 18:00:49 +0000 Subject: [PATCH] Don't use deprecated functions in examples. (#319524, Vincent Untz) 2005-10-25 Matthias Clasen * gtk/tmpl/gtkfilechooser.sgml: Don't use deprecated functions in examples. (#319524, Vincent Untz) * gtk/gtk-update-icon-cache.xml: Fix a typo. (#319524, Vincent Untz) --- docs/reference/ChangeLog | 7 +++++++ docs/reference/gtk/gtk-update-icon-cache.xml | 2 +- docs/reference/gtk/tmpl/gtkfilechooser.sgml | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 96a1370f51..2c1115a6d8 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,10 @@ +2005-10-25 Matthias Clasen + + * gtk/tmpl/gtkfilechooser.sgml: Don't use deprecated functions + in examples. (#319524, Vincent Untz) + + * gtk/gtk-update-icon-cache.xml: Fix a typo. (#319524, Vincent Untz) + 2005-10-06 Matthias Clasen * gtk/gtk-sections.txt: Add gtk_text_buffer_get_has_selection(). diff --git a/docs/reference/gtk/gtk-update-icon-cache.xml b/docs/reference/gtk/gtk-update-icon-cache.xml index 726c0fb161..ab8b2e180a 100644 --- a/docs/reference/gtk/gtk-update-icon-cache.xml +++ b/docs/reference/gtk/gtk-update-icon-cache.xml @@ -26,7 +26,7 @@ icon themes. -If expects to be given the path to a icon theme directory containing an +It expects to be given the path to a icon theme directory containing an index.theme, e.g. /usr/share/icons/hicolor, and writes a icon-theme.cache containing cached information about the icons in the directory tree below the given directory. diff --git a/docs/reference/gtk/tmpl/gtkfilechooser.sgml b/docs/reference/gtk/tmpl/gtkfilechooser.sgml index 11e547ee79..93df72ab1c 100644 --- a/docs/reference/gtk/tmpl/gtkfilechooser.sgml +++ b/docs/reference/gtk/tmpl/gtkfilechooser.sgml @@ -132,7 +132,7 @@ update_preview_cb (GtkFileChooser *file_chooser, gpointer data) gtk_image_set_from_pixbuf (GTK_IMAGE (preview), pixbuf); if (pixbuf) - gdk_pixbuf_unref (pixbuf); + gobject_unref (pixbuf); gtk_file_chooser_set_preview_widget_active (file_chooser, have_preview); } -- 2.30.2